//
//  YHLayer.cpp
//  ThunderWarriors
//
//  Created by mac on 12-12-23.
//
//

#include "YHLayer.h"

IMPLEMENT_CREATE_CLASS(YHLayer)

YHLayer::YHLayer(){
    m_layerId = GAME_LAYER_UNKNOWN;
    m_layerFlag1 = 0;
    m_layerFlag2 = 0;
    m_layerFalgData = NULL;
}

YHLayer::~ YHLayer(){
    
}

bool YHLayer::init(){
    bool ret = CCLayer::init();
    //TODO: add your own init here.
    return ret;
}

void YHLayer::initData(){
    //TODO:
}

void YHLayer::initView(){
    //TODO:
}

void YHLayer::refreshData(){
    //TODO:
}

void YHLayer::refreshView(){
    //TODO:
}

void YHLayer::setVisibleAndTouchEnabled(bool bIsVisible, bool bIsTouchEnabled){
    this->setVisible(bIsVisible);
    this->setTouchEnabled(bIsTouchEnabled);
    //TODO:
}
